dsh-plugin-jina-json-repair:在 llm/stream 层修复 Jina MCP 工具调用的畸形 JSON

DSH 在流结束时解析 DeepSeek 的 tool_use 参数,Jina MCP 的 read_url、search_web 常因模型输出缺引号等畸形 JSON 触发 MALFORMED_RESPONSE 导致整轮中止。frederick-wang 的 dsh-plugin-jina-json-repair(0.1.2,MIT)挂载于 llm/stream,用 jsonrepair 修复并经请求 schema 严格校验后合成 tool-calls 放行。安装:dsh plugin --profile dsh-tui add github:frederick-wang/dsh-plugin-jina-json-repair,重启后生效;可在 cordis.patch.yml 扩展 tools 列表。

Read More